package com.kl.modular.system.dao.model;


import com.baomidou.mybatisplus.annotations.TableField;
import com.kl.modular.base.dao.model.BaseModel;

import javax.validation.constraints.NotNull;

/**
 * 系统参数
 * @author xr_zjb
 * @date 2017-08-09 13:48
 * @(C) xinrui Copyright 
 */
public class SystemParam extends BaseModel {
    /** 类别ID */
    private Long typeId;
    /** 名称 */
    @NotNull(message = "名称不能为空")
    private String name;
    /** 字典数据ID */
    @NotNull(message = "字典数据ID不能为空")
    private Long dicId;
    /** 备注 */
    private String remarks;
    /** 区域ID */
    private Long areaId;

    @TableField(exist = false)
    private SystemParamType systemParamType;

    @TableField(exist = false)
    private SystemDic systemDic;

    @TableField(exist = false)
    private SystemArea systemArea;

    public Long getTypeId() {
        return typeId;
    }
    public void setTypeId(Long typeId) {
        this.typeId = typeId;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public Long getDicId() {
        return dicId;
    }
    public void setDicId(Long dicId) {
        this.dicId = dicId;
    }
    public String getRemarks() {
        return remarks;
    }
    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public SystemParamType getSystemParamType() {
        return systemParamType;
    }

    public void setSystemParamType(SystemParamType systemParamType) {
        this.systemParamType = systemParamType;
    }

    public SystemDic getSystemDic() {
        return systemDic;
    }

    public void setSystemDic(SystemDic systemDic) {
        this.systemDic = systemDic;
    }

    public SystemArea getSystemArea() {
        return systemArea;
    }

    public void setSystemArea(SystemArea systemArea) {
        this.systemArea = systemArea;
    }

    public Long getAreaId() {
        return areaId;
    }

    public void setAreaId(Long areaId) {
        this.areaId = areaId;
    }
}